<%-------------------------------------------------------------------
 * 页面名称：innerPay_3.jsp
 * 功能描述：网上付款－付款结果
 * Action  : innerPay
 *
 *-------------------------------------------------------------------
--%>

<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%@ page import="cn.agiledata.bank.common.util.Constant"%>
<%@ page import="cn.agiledata.bank.account.service.AccountSummary"%>
<%
	String path = request.getContextPath();

	// 取得Session中用户登录信息
	AccountSummary user = (AccountSummary) session
			.getAttribute(Constant.SESSION_ACCOUNT_SUMMARY);
%>
<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/JavaScript">
function doback(){
	document.forms[0].step.value = "0";
	document.forms[0].target = "_self";
	document.forms[0].submit();
}
</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				网上付款
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="1" class="blueborder">
					<tr>
						<td colspan="2" align="right">
							<table width="90%" border="0" align="center" cellpadding="7"
								cellspacing="1" style="margin:10px 0;">
								<tr>
									<td>
										<table width="100%" border="0" cellpadding="3" cellspacing="0">
											<tr>
												<td width="97%" align="left" class="font_gray">
													</a>
													<logic:equal name="sessionAccountSummary"
														property="user.accountType" value="A">
														<!-- 个人用户 -->
					您的付款已成功！
				  </logic:equal>
													<logic:notEqual name="sessionAccountSummary"
														property="user.accountType" value="A">
														<!-- 企业用户 -->
					您的付款申请已成功！
				  </logic:notEqual>
													</span>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<html:form action="innerPay" method="post">
						<html:hidden property="step" />
						<tr>
							<td width="50%" align="right" height="35px;">
								交易编号：
							</td>
							<td width="77%" class="fontgraydrop14" height="35px;">
								<bean:write name="transaction" property="transId" />
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								付款子账户当前余额：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<span class="orangefont14b"> <ad:FormatPrase>
										<bean:write name="transaction"
											property="debit.accountBalance.balance" />
									</ad:FormatPrase>
								</span> 元
								<a href="<%=path%>/page/myspace/subBalance.do"
									class="dropblue14b">查看账户明细</a>
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								商品信息：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<bean:write name="transaction" property="commodityInfo" />
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								资金用途：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<bean:write name="transaction" property="purpose" />
							</td>
						</tr>
						<tr>
							<td align="right">
								&nbsp;
							</td>
							<td>
								&nbsp;
							</td>
						</tr>
				</table>
				</html:form>
				<table width="100%" height="55" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td align="center">
							&nbsp;
							<input name="button222" type="button" class="button_style"
								onclick="location.href='<%=path%>/route.do?modual=pay$innerPay';"
								value="返 回" />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
<logic:present name="unsPayResponse">
	<form id="UnsPayResponseForm" name="UnsPayResponseForm"
		action="<%=path%>/page/linkbank/unsPayResponse.do" method="post"
		target="_self">
	</form>
	<script language="javascript">
	document.forms["UnsPayResponseForm"].submit();
</script>
</logic:present>


